//
//  ChatInfoDao.h
//  SportSocial
//
//  Created by yull on 15/1/20.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import "BaseDao.h"
#import "ChatInfo.h"
@interface ChatInfoDao : BaseDao

- (BOOL)addOrUpdateChatInfo:(ChatInfo *)chatInfo;

- (NSMutableArray *)selectAlChatInfo;

- (BOOL)addChatInfoArray:(NSArray *)array;

- (BOOL)updateChatInfo:(ChatInfo *)chatInfo;

- (BOOL)clearUnReadCountWithChatInfo:(ChatInfo *)chatInfo;

- (BOOL)deleteChatInfo:(ChatInfo *)chatInfo;

- (BOOL)insertChatInfo:(ChatInfo *)chatInfo;
@end
